<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
  <meta charset="UTF-8">
  <title>Admin</title>
</head>
<form  method="post" th:action="@{/submit_course_info}" >
  <input type="hidden" name="stuId" th:value="${session.courseInfo.courseId}" readonly="true" ><br>
  课程代码：<input type="text" name="stuNumber" th:value="${session.courseInfo.courseCode}"><br>
  课程名：<input type="text" name="stuName" th:value="${session.courseInfo.courseName}" ><br>

  <label style="color: red" th:text="${courseMsg}" th:if="${not #strings.isEmpty(courseMsg)}"></label>
  <input type="submit" value="修改">
</form>

</body>
</html>